/*
* @Date: 2020/6/12
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/
import React from 'react';
import { Tabs } from 'antd';
const { TabPane } = Tabs;
import Props from './Props';
import Style from './Style';

export default class extends React.Component {
  render() {
    const { propsValue, uid, component } = this.props;
    return (
      <Tabs defaultActiveKey="1">
        <TabPane tab="Props" key="1">
          <Props propsValue={propsValue} uid={uid} component={component} onChange={this.props.onPropsChange} />
        </TabPane>
        <TabPane tab="Style" key="2">
          <Style />
        </TabPane>
      </Tabs>
    );
  }
}
